How to use attribute for hyperlink